<if condition="$art['auditing']">
<div class="blog-box shadow">
    <div class="l-img"><img src="http://q.qlogo.cn/qqapp/101399999/2D1DFA0DEA2990CF49AB2EDE8C371D16/100"></div>
    <div class="l-box">
        <div class="tab">
            <switch name="art['tag']" >
                <case value="置顶" break="1">
                    <span class="stick">置顶</span>
                </case>
                <case value="置顶,精贴" break="1">
                    <span class="fine">精贴</span>
                    <span class="stick">置顶</span>
                </case>
                <case value="精贴" break="1">
                    <span class="fine">精贴</span>
                </case>    
                <default />
            </switch>
        </div>
        <div class="l-title"><a href="{:U('/article/'.$art['id'])}">{$art.title}</a></div>
        <div class="l-content">{$art.content|htmlspecialchars_decode|strip_tags|mb_substr=0,100}...</div>
    </div>
    <div class="clear"></div>
    <div class="l-footer">
        <span title="时间"><i class="iconfont" style="font-size: 17px;">&#xe665;</i>{$art.addtime|format_datetime=2}</span>
        <span title="作者"><i class="layui-icon">&#xe612;</i>{$username}</span>
        <span title="标签"><a href="/article/category/{$art.description}" class="comment"><i class="iconfont" style="font-size: 17px;">&#xe690;</i>{$art.name}</a></span>
        <span class="info" title="浏览次数"><i class="iconfont" style="font-size: 21px;">&#xe71a;</i>{$art.hit}</span>
        <span class="info" title="评论数"><a href="/article/{$art.id}/#comment" class="comment"><i class="iconfont" style="font-size: 17px;">&#xe6ad;</i>{$art.comment}</a></span>
    </div>
</div>
</if>
